Repository navigation
[QuantumInfo/StabilizerFormalism]: PauliGroups and CliffordGroups - #2008
Sammybro11 wants to merge 9 commits into
Conversation
|
Thank you for this pull-request (PR). If this is your first PR, welcome to the community! While you wait for a review, note that you can review PRs too; reviewing is not restricted to maintainers. Our review guidelines explain what to look for. Over time, contributions such as reviews, maintenance and documentation are recorded on contributions.physlib.io. Three main points:
|
|
Unsure of whether this definition of pauli should go to |
047c00e to
28348e2
Compare
|
|
||
| /-- Two single-qubit Pauli operators commute if and only if their symplectic product is | ||
| zero. -/ | ||
| lemma pauliSingle_commute_iff (p q : ZMod 4) (x z x' z' : ZMod 2) : |
There was a problem hiding this comment.
I am struggling with how to do this efficiently. Open to suggestions :)
|
I think it's better to try and integrate this with the quantum mechanics formalization in either the probabilistic theory or the main Physlib repo. |
I think that would be difficult right now, because the fundamentals are all based on group theory. Even in later stages most of the work with stabilizer formalism is done using homology. Only things which connect it back are the pauli operators. Otherwise it's very unrelated, from my point of view. |
|
@Sammybro11 Is there a reason why it is more possible in the ./QuantumInfo library compared to these other parts of the library? |
|
@jstoobysmith I need alot of the matrix proofs already in Unitary for the lemmas, I could obviously place the whole new module in a Physlib section but then I would still be calling lemmas from the QuantumInfo Section, if that's not an issue then I don't see why we can't create the whole module in Physlib. At the end it's mostly going to be group theory lemmas with some unitary matrix lemmas being used. P.S. Haven't made more progress yet due to exams, will get back on this in a week and half. |
|
There isn't much issue with this move, and ideally it is the end goal. It might just take a bit of time to do it properly (some of the results in QuantumInfo don't pass all the required linters of Physlib). If you would be up to do this, it would be great. |
|
Okay, I'll have to think a little about how much can be done using only Physlib, I'll let you know soon if it's possible to write the module without QuantumInfo |
Add structure for `n` qubit Pauli Operator using Tableau of X and Z bit strings, and added sympletic product of Operators to show commutation later.
Starting with single qubit and then building on that to multiqubit.
Solving each case is just extremely painful. I think there has to be a better way to do this, currentlu just walking through all 4x4=16 cases.
Move the single-qubit Pauli group from QuantumInfo to Physlib along with lemma for commutation and sympletic product.
03e7497 to
bfb21b5
Compare
|
@jstoobysmith I have moved it the I'll add N Qubit Pauli Operator in the PR and then I think it should be fine to merge. Other Unitary stuff can come in other PRs |
Added an N qubit `tensorAll` and it's private along with a `pauliTensor` for easier notation of the same. Finally a main `multi_commute_iff` showing the final commutation relation using sympletic products defined in `symplectic`.
1f97521 to
1e3b5a5
Compare
|
Would it be possible to use the existing definitions of Pauli matrices as operators acting on the qubit Hilbert space? Then we probably need to define, at some point, the Hilbert space for multi-qubits and the operators on those. I think if we do that, all of this will tie together much more nicely. |
|
awaiting-author |
I am hoping to build in that direction, I mentioned in earlier todos (before I removed it 😅) that I wanted to add mapping to unitary operators, but it would be a much larger task, especially due the N qubit operators and probably more suitable for another PR. I will keep this in mind and add a mapping to the hilbert space as well in that same PR in the future since they are very similar. |
|
-awaiting-author |
|
I think it might be better to focus on those pull requests first before merging this one, because then we can write these operators in the correct language rather than them just being matrices. They can be actual operators on the qubit space, or we can restrict this pull request to just defining it for the single-qubit case and making sure that everything's up to date with the operators. awaiting-author |
|
ok I think I am confusing the ideas, do you mean somehthing like converting This would be relatively simple to do -awaiting-author |
|
-awaiting-author |
|
I mean this makes more sense to me for use, but it won't be the same as like creating the whole N qubit group by doing tensor on multiple 1 qubit operators in the hilbert space, when I tried that last time it was really weird. |
The module will define the Pauli group on n qubits, the Clifford group, and the stabilizer tableau formalism. The long-term
goal is the Gottesman-Knill theorem.
TODO: